<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--JavaScript严格区分大小写-->
    <script>
        //1. 定义变量 变量类型 变量名 = 变量值;
        var num = 1; var num1 = 2;
        var name = "xiaoming";
        // alert(name);

        //2. 条件控制
        var score = 30;
        if(score > 60 && score < 70){
            alert("60~70");
        }else if(score > 70 && score < 80){
            alert("70~80");
        }else{
            alert("other");
        }

        //console.log(score) 在浏览器的控制台打印变量！ System.out.println();

    </script>

</head>
<body>

</body>
</html>